GrapeCity.CalcEngine.Functions Namespace > CalcConvertFunction Class > Evaluate Method : Evaluate(Object[]) Method |
The args contains 3 items: number, from_unit, to_unit.
Number is the value in from_units to convert.
From_unit is the units for number.
To_unit is the units for the result. CONVERT accepts the following text values (in quotation marks) for from_unit and to_unit.
'Usage Dim instance As CalcConvertFunction Dim args() As Object Dim value As Object value = instance.Evaluate(args)
The args contains 3 items: number, from_unit, to_unit.
Number is the value in from_units to convert.
From_unit is the units for number.
To_unit is the units for the result. CONVERT accepts the following text values (in quotation marks) for from_unit and to_unit.
Target Platforms: Windows Server 2012, Windows RT